package com.springmvc.api.aop;

import org.apache.log4j.Logger;
import org.springframework.stereotype.Service;

/**
 * Created by cheng.xi on 12/10/15.
 */
@Service("testAopService")
public class TestAopServiceImpl implements TestAopService{
    private Logger LOGGER = Logger.getLogger(TestAopServiceImpl.class);

    @Override
    public void testAopFunction(String msg) {
        LOGGER.debug("TestAopServiceImpl.testAopFunction(msg: + " + msg + ")");
    }

    @Override
    public void testAop() {
        LOGGER.debug("TestAopServiceImpl.testAop()");
    }
}
